package pt.fct.mpc.lastfm.search;

public class TagSearchHit
	extends SearchHit
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -1443355160399301952L;
	protected int count;

	public TagSearchHit(String name, String url, int count, int searchPosition)
	{
		super(name, url, searchPosition);
		
		this.setCount(count);
	}

	public int getCount()
	{
		return count;
	}

	public void setCount(int count)
	{
		this.count = count;
	}

	@Override
	public String toString()
	{
		return this.name;
	}

}
